package com.ctyun.xstore.vod.transcode.model;

import com.ctyun.xstore.vod.AbstractVODRequest;

/**
 * 搜索转码任务请求类
 */
public class SearchTranscodeTaskRequest extends AbstractVODRequest {

	private TranscodeTaskStatusEnum status;

	private CreateTime createTime;

	private Integer pageSize;

	private Integer pageIndex;

	public TranscodeTaskStatusEnum getStatus() {
		return status;
	}

	public void setStatus(TranscodeTaskStatusEnum status) {
		this.status = status;
	}

	public CreateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(CreateTime createTime) {
		this.createTime = createTime;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize 由于任务数量多，请必须传入该参数，该参数最大数值为1000
	 */
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageIndex() {
		return pageIndex;
	}

	/**
	 * @param pageIndex 页码，由0开始
	 */
	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	@Override
	protected String getPath() {
		return "/task/search";
	}
}
